<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:89:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\public/../application/index\view\goods\dividend.html";i:1532048734;s:76:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\head.html";i:1530085289;s:75:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\top.html";i:1529890695;s:76:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\foot.html";i:1531124263;s:76:"D:\php-pcweb-tdw\PHPTutorial\WWW\tdw\application\index\view\common\back.html";i:1529748893;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>分红式订单 - 胎大王</title>
	<meta name="baidu-site-verification" content="9VtZWv6p9u" />
<meta content="胎大王,轮胎直购网,卡车轮胎,真空胎购买,轮胎店加盟,载重轮胎,矿山胎,TDW,山东轮胎" name="Keywords">
<meta name="description" content="胎大王—卡客轮胎直购网
成立于2014年12月，注册资本5000万元，总部位于著名的轮胎之都山东广饶，是卡客轮胎细分市场国内唯一的互联网垂直服务平台
" />
<!-- reset -->
<link rel="stylesheet" href="/css/normalize.css">
<!-- 字体库 -->
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/pure-min.css">
<!-- wow.js -->
<link rel="stylesheet" href="/css/animate.min.css">
<!-- 通用样式 -->
<link rel="stylesheet" type="text/css" href="/css/styles.css">
<link rel="stylesheet" type="text/css" href="/css/motai.css">
<!-- jquery -->
<script src="/js/jquery-1.12.3.min.js"></script>
<script src="/js/modal.js"></script>
<!-- 顶部固定 -->
<script src="/js/stickUp.min.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e2d8288cf7a602d26c80efa173f808b6";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
<base target="_Self">
	<link href="css/jquery.jqzoom.css" rel="stylesheet" type="text/css" />
	<script src="js/layer/layer.js"></script>

</head>
<body>
<div class="container">
<div class="head">
	<div class="contai">
		<div class="pure-g">
			<div class="pure-u-8-24"><p>胎大王产业供应链共享服务平台欢迎您！</p></div>
			<div class="pure-u-16-24 right">
				<style>
					.indexLogin{display:none;}
					.memberLogin{display:block;}
				</style>
				<div class="indexLogin">
					<p>您好，请<a href="/login.html"  target="_self">登录</a></p><p class="jiange"> &nbsp;</p>
					<p id="bus_wechat">
						<a href="javascript:;">企业微信</a><span><img src="/images/ewm-big.jpg"></span></p>

				</div>
				<div class="memberLogin">
					<p>您好，<span class="memberPhone"></span></p><p class="jiange"> &nbsp;</p>
					<p><a href="/member.html"  target="_self">个人中心</a><p class="jiange"> &nbsp;</p>
					<p><a href="/logout.html"  target="_self">退出登录</a></p>
				</div>

			</div>

		</div>
	</div>
</div>
<div class="nav">
	<div class="contai">
		<div class="pure-g">
			<div class="pure-u-3-24">
				<h1><a target="_self" href="/" title="胎大王"><img src="/images/logo.jpg" alt="胎大王"></a></h1>
			</div>
			<div class="pure-u-21-24">
				<div class="menu">
				        <?php 
                        if(empty($act))
                        {
                            $act = 1;
                        }
                         ?>
					<ul>
						<li><strong><a href="/"  <?php if($act=='index'): ?>class="active"<?php else: endif; ?> >首页</a></strong></li>
						<li><strong><a href="/notice.html"  <?php if($act=='notice'): ?>class="active"<?php else: endif; ?>>信息公告</a></strong></li>
						<li><strong><a href="/product.html"  <?php if($act=='product'): ?>class="active"<?php else: endif; ?>>产品列表</a></strong></li>
						<li><strong><a href="/News/index.html"  <?php if($act=='news'): ?>class="active"<?php else: endif; ?>>新闻资讯</a></strong></li>
						<li><strong><a href="/member.html"  <?php if($act=='member'): ?>class="active"<?php else: endif; ?>>个人中心</a></strong></li>
						<li><strong><a href="/merchants.html"  <?php if($act=='merchants'): ?>class="active"<?php else: endif; ?>>招商加盟</a></strong></li>
						<li class="cart"><a href="/cart.html" class="button-secondary pure-button"><i class="fa fa-shopping-cart"></i> 购物车详情</a>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>

	<div class="dividend">
		<div class="dividend-banner"></div>
		<div class="contai">
			<div class="f-bk30"></div>
			<div class="dividend-tit">
				<strong>分红式订单</strong>
			</div>
			<p>分红式订单说明：分红式订单不限规格，单个分红式订单最低购买数量为20条，选择不同的分红周期，分红金额不一样，周期越长，分红越高，抢购时需要支付全额货款。</p>
			<div class="f-bk30"></div>
			<div class="dividend-content">
				<div class="dividend-title">
					<strong>TDW产品列表</strong>
					<div class="more">TDW PRODUCT LIST</div>
				</div>
				<div class="f-bk3"></div>
				<div class="tdw-qiehuan">
					<a href="javascript:;" class="act">精品轮胎</a>
					<a href="javascript:;">轮胎配件</a>
				</div>
				<div class="f-bk3"></div>
				<div class="con-list">
					<?php if(is_array($data['productArray']) || $data['productArray'] instanceof \think\Collection || $data['productArray'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['productArray'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					<div class="dividend-list">
						<div class="pure-g">
							<div class="pure-u-5-24">
								<a href="/dividendDetail.html?id=<?php echo $vo['id']; ?>"><img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['name']; ?>"></a>
							</div>
							<div class="pure-u-19-24" style="position: relative;">
								<div class="info">
									<a href="/dividendDetail.html?id=<?php echo $vo['id']; ?>"><p><?php echo $vo['name']; ?></p></a>
								</div>
								<div class="price">
									￥<?php echo $vo['price']; ?>
								</div>
								<div class="type-list">
								<ul>
									<li>·规格：<?php echo $vo['spec']; ?></li>
									<li>·花纹：<?php echo $vo['huawen']; ?></li>
									<li>·轮位：<?php echo $vo['position']; ?></li>
								</ul>
							</div>

								<div class="type">
									<ul class="list-th">
										<li class="list-top">周期：</li>
										<li>分红：</li>
										<li>库存：</li>
									</ul>
									<?php if(is_array($vo['poolInfo']) || $vo['poolInfo'] instanceof \think\Collection || $vo['poolInfo'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['poolInfo'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
									<ul>
										<li class="list-top"><?php echo $v['cycle']; ?>天</li>
										<li><?php echo $v['radix']; ?>元/条</li>
										<li><?php echo $v['quantity']; ?>条</li>
									</ul>
									<?php endforeach; endif; else: echo "" ;endif; ?>
								</div>
								<div class="dividend-botton">
									<ul>
										<li><div class="num">· 抢购数量 <span class="reduc">&nbsp;-&nbsp;</span><input name="numinput" class="numinput" type="text" id="text_box" value="1" /><span class="add">+</div></li>
										<li>
											<input type="hidden" value="<?php echo $vo['id']; ?>" name='productId' />
											<div class="umall">
											<a href="javascript:;" class="addCart">加入购物车</a> 
											<a href="javascript:;" class="buy">立即抢购</a>
											</div>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</div>
				<div class="con-list hide">
				<?php if(empty($data['partsArray']) || (($data['partsArray'] instanceof \think\Collection || $data['partsArray'] instanceof \think\Paginator ) && $data['partsArray']->isEmpty())): ?>
				  <div style="text-align:center;padding: 5rem 0;">
					<img src="/images/success.png">
					<p style="color: #ec6c00;">暂无配件</p>
				  </div>
				<?php else: if(is_array($data['partsArray']) || $data['partsArray'] instanceof \think\Collection || $data['partsArray'] instanceof \think\Paginator): $i = 0; $__LIST__ = $data['partsArray'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					<div class="dividend-list">
						<div class="pure-g">
							<div class="pure-u-5-24">
								<a href="/dividendDetail.html?id=<?php echo $vo['id']; ?>"><img src="<?php echo $vo['img']; ?>" alt="<?php echo $vo['name']; ?>"></a>
							</div>
							<div class="pure-u-19-24" style="position: relative;">
								<div class="info">
									<a href="/dividendDetail.html?id=<?php echo $vo['id']; ?>"><p><?php echo $vo['name']; ?></p></a>
								</div>
								<div class="price">
									￥<?php echo $vo['price']; ?>
								</div>
								<div class="type-list">
								<ul>
									<li> </li>
	
								</ul>
							</div>

								<div class="type">
									<ul class="list-th">
										<li class="list-top">周期：</li>
										<li>分红：</li>
										<li>库存：</li>
									</ul>
									<?php if(is_array($vo['poolInfo']) || $vo['poolInfo'] instanceof \think\Collection || $vo['poolInfo'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['poolInfo'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
									<ul>
										<li class="list-top"><?php echo $v['cycle']; ?>天</li>
										<li><?php echo $v['radix']; ?>元/箱</li>
										<li><?php echo $v['quantity']; ?>箱</li>
									</ul>
									<?php endforeach; endif; else: echo "" ;endif; ?>
								</div>
								<div class="dividend-botton">
									<ul>
										<li><div class="num">· 抢购数量 <span class="reduc">&nbsp;-&nbsp;</span><input name="numinput" class="numinput" type="text" id="text_box" value="1" /><span class="add">+</div></li>
										<li>
											<input type="hidden" value="<?php echo $vo['id']; ?>" name='productId' />
											<div class="umall">
											<a href="javascript:;" class="addCart">加入购物车</a> 
											<a href="javascript:;" class="buy">立即抢购</a>
											</div>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				<?php endforeach; endif; else: echo "" ;endif; endif; ?>
				</div>
		</div>
	</div>
	<div class="footer">
	<div class="contai">

		<div class="pure-g help">

			<div class="pure-u-1-5">
				<dl>
					<dt>购胎指南</dt>
					<dd><a href="/article/10/352.html">购物流程</a></dd>
					<dd><a href="/article/10/345.html">发票制度</a></dd>
					<dd><a href="/article/10/351.html">账号管理</a></dd>
				</dl>
			</div>
			<div class="pure-u-1-5">
				<dl>
					<dt>支付方式</dt>
					<dd><a href="/article/4/354.html">网银支付</a></dd>
					<dd><a href="/article/4/355.html">线下转账</a></dd>
				</dl>
			</div>
			<div class="pure-u-1-5">
				<dl>
					<dt>提货方式</dt>
					<dd><a href="/article/12/344.html">德邦托运</a></dd>
					<dd><a href="/article/12/343.html">仓库自提</a></dd>
					<dd><a href="/article/12/356.html">公司配车</a></dd>
				</dl>
			</div>

			<div class="pure-u-1-5">
				<dl>
					<dt>售后服务</dt>
					<dd><a href="/article/6/341.html">三包售后政策</a></dd>
					<dd><a href="/article/6/342.html">售后热线</a></dd>
					<dd><a href="/article/6/350.html">处理流程</a></dd>
				</dl>
			</div>

			<div class="ewm"></div>
		</div>
	<div class="about">
		<div>
			<span><a href="/article/7/348.html">公司简介</a></span><p class="jgs"> &nbsp;</p>
			<span><a href="/article/7/349.html">诚聘英才</a></span><p class="jgs"> &nbsp;</p>
			<span><a href="/article/7/353.html">联系我们</a></span>
		</div>
		<div>

			<span><a style="color:#fff" href="http://icp.chinaz.com/info?q=tdw360.com" target="_blank">鲁ICP备14034560号-1</a></span><p class="jgs"> &nbsp;</p>
			<span>
		 		<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=37052302000157" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
				<img src="/img/gonganbeian.png" style="float:left;"/>
				<p style="float:left;height:20px;line-height:20px;margin: 5px 0px 0px 5px; color:#fff;">鲁公网安备 37052302000157号</p >
				</a>
		 	</span><p class="jgs"> &nbsp;</p>
			<span><a style="color:#fff" href="/img/yingyezhizhao.jpg" target="_blank">营业执照</a></span><p class="jgs"> &nbsp;</p>
			<span><a style="color:#fff" href="/img/IDC.jpg" target="_blank">电信增值业务许可证</a></span>
		</div>
	</div>
	<div class="f-bk20"></div>
	</div>
</div>
<div class="copy">
<div  class="contai">
	<div>
		<img src="/images/copy1.png" alt="支付宝">
		<img src="/images/copy2.png" alt="山东工商">
		<img src="/images/copy3.png" alt="可信网站身份验证">
		<img src="/images/copy4.png" alt="平安银行">
		<img src="/images/copy5.png" alt="网警网络110">
		<img src="/images/copy6.png" alt="银联特约商户">
	</div>
	<div style="text-align:right;">
		<span>Copyright© 胎大王信息科技有限公司 2014-2064，All Rights Reserved</span>
	</div>
</div>
</div>
<script src="/js/wow.min.js"></script>
<script src="/js/public.js"></script>
<!--[if lt IE 9]>
    <script src="../js/html5shiv.min.js"></script>
    <script src="../js/respond.min.js"></script>
    <script src="../js/DOMAssistant-2.8.1.js"></script>
    <script src="../js/ie-css3.js"></script>
<![endif]-->

</div>
<script src="/js/jquery.cookie.js"></script>
<script>
$(function(){
	var userInfo = $.cookie('userInfo');
	if(userInfo!=null){
		$(".indexLogin").css("display","none");
		$(".memberLogin").css("display","block");
		var str = userInfo.replace(/^think:/,'');
		userInfo = JSON.parse(str);
		//console.log(JSON.parse(str));
		$(".memberLogin .memberPhone").text(userInfo['username']);
	}else{
		$(".indexLogin").css("display","block");
		$(".memberLogin").css("display","none");
	}

});
</script>
<script type="text/javascript">
	$('#bus_wechat').hover(function(){$(this).find('span').css('display','inline-block')},function(){$(this).find('span').css('display','none')})
</script>
</div>
<!-- 返回顶部 -->
<link href="/css/share.css" rel="stylesheet" type="text/css" />
<!-- 代码 开始 -->
<div id="appgame-leftside-share">
<div class="appgame-leftside-share rwt_share" id="rwt_share">
	<a class="appgame-leftside-index" href="/" title="返回首页">返回首页</a>
	<a class="appgame-leftside-ewm" title="二维码">二维码</a>
	<a href="/cart.html" target="_blank" class="appgame-leftside-cart" title="购物车">购物车</a>
</div>
<a class="appgame-leftside-tops" onclick="gotoTPoint(&#39;top&#39;,400)"title="返回顶部">返回顶部</a>

<div class="uc-2vm-pop dn">
	<h3 class="title-2wm">用微信扫一扫</h3>
	<div class="logo-2wm-box">
		<img src="/images/ewm-big.jpg" alt="" width="240" height="240">
	</div>
</div>
</div>
<!-- 代码 结束 -->
<script type="text/javascript" src="/js/lrtk.js"></script>
<script>
$(function(){
	$(".reduc").each(function() {
		$(this).click(function() {
			var $multi1 = 0;
			var vall1 = $(this).next().val();
			vall1--;
			if(vall1 <= 0) {
				vall1 = 1;
			}
			$(this).next().val(vall1);
		})
	});
	$(".add").each(function() {
		$(this).click(function() {
			var $multi = 0;
			var vall = parseInt($(this).prev().val());
			vall++;
			$(this).prev().val(vall);
		})
	});
	$(".addCart").click(function(){
		var quantity = $(this).closest("ul").find("input[name='numinput']").val();
		var productId = $(this).parents("li").find("input[name='productId']").val();
		if (/^\d*[1-9]\d*$/.test(quantity) && parseInt(quantity) > 0) {
			$.ajax({
				url: "/Cart/addCart.html",
				type: "POST",
				data: {id:productId,quantity:quantity},
				dataType: "json",
				cache: false,
				success: function(data) {
					if(data.code==1){
						layer.msg("添加成功",{time:1500});
					}else if(data.code==1004){
						layer.alert(data.msg,function(){
							window.location.href='/login/jump/dividend.html';					
						});						
					}else{
						layer.msg(data.msg,{time:1500});
					}
				}
			});
		} else {
			layer.msg("加入购物车失败",{time:1500});
		}
	});
	$(".buy").click(function(){
		var quantity = $(this).closest("ul").find("input[name='numinput']").val();
		var productId = $(this).parents("li").find("input[name='productId']").val();
		if (/^\d*[1-9]\d*$/.test(quantity) && parseInt(quantity) > 0) {
			$.ajax({
				url: "/Cart/addCart.html",
				type: "POST",
				data: {id:productId,quantity:quantity},
				dataType: "json",
				cache: false,
				success: function(data) {
					if(data.code==1){
						//layer.alert("添加成功",function(){
							window.location.href='/cart.html';					
						//});	
					}else if(data.code==1004){
						layer.alert(data.msg,function(){
							window.location.href='/login/jump/dividend.html';					
						});						
					}else{
						layer.msg(data.msg,{time:1500});
					}
				}
			});
		} else {
			layer.msg("购买失败",{time:1500});
		}
	});

	//切换
  tabs($(".tdw-qiehuan a"), $('.con-list'));
	
});
var tabs = function(tab, con){
	    tab.click(function(){
	        var indx = tab.index(this);
	        tab.removeClass('act');
	        $(this).addClass('act');
	        con.hide();
	        con.eq(indx).show();
	    })    
	}
</script>
</body>
</html>